Constant matrix
Returns a constant matrix: a matrix with all its entries equal to a given number.
Syntax
constant_matrix(Integer, Expression)
constant_matrix(Integer, Integer, Expression)
Description
Given an integer and an expression , constructs a matrix of dimensions with all its entries equal to .
Given two integers and and an expression , constructs a matrix of dimensions with all its entries equal to .