const

AnsMat.const(value)

Set all values of the vector to a constant