Constant vector

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

Syntax

constant_vector(Integer, Expression)

Description

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

linear_algebra.constant_vector.calc.png