DOCUMENTATION CalcMe
  • language Translations of this page
    • Translations of this page
    • Català (ca)
    • Dansk (da)
    • Deutsch (de)
    • English (en)
    • Español (es)
    • Français (fr)

  1. Wiris Ecosystem Documentation
  2. CalcMe documentation
  3. Commands
  4. Linear algebra
  5. Constant vector

en:calc:commands:linear_algebra:constant_vector

Constant vector

Returns a constant vector: a vector with all its entries equal to a given number.

Syntax

constant_vector(Integer, Expression)

Description

constant_vector(Integer, Expression)

Given an integer n and an expression e, constructs a vector of dimensions n with all its entries equal to e.

Related functions

Constant matrix, Canonic vector

Table of Contents
  • Syntax
  • Description
  • Related functions
Log In

Copyright © WIRIS 2021. All rights reserved.