Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to create a symbolic arbitrary dimensional zero vector?

If one can create a list of zeros, type = list, one can get a sym_vector by "symbolic_expression()". But how to create a list of zeros?

or can we use "zeros_vector()"?

How to create a symbolic arbitrary dimensional zero vector?

If one can create a list way: sage: symbolic_expression(list(zero_vector(k))) # k, dim. of zeros, type = list, one can get a sym_vector by "symbolic_expression()". But how to create a list of zeros?vector

or can we use "zeros_vector()"?but too long...

How to create a symbolic arbitrary dimensional zero vector?

one way: sage: symbolic_expression(list(zero_vector(k))) # k, dim. of vector

but *but it is too long...long!! *

How to create a symbolic arbitrary dimensional zero vector?

one way: sage: symbolic_expression(list(zero_vector(k))) # k, dim. of vectorvector,

k is some fixed integer, e.g. k = 10, many thanks to @tmonteil

*but it is too long!! *

How to create a symbolic arbitrary dimensional zero vector?

one way:

sage: symbolic_expression(list(zero_vector(k)))  # k, dim. of vector,  

vector

k is some fixed integer, e.g. k = 10, many thanks to @tmonteil

*but it is too long!! *

How to create a symbolic arbitrary dimensional zero vector?

one way:

sage: symbolic_expression(list(zero_vector(k))) 
# k, dim. of vector

vector, k is some fixed integer, e.g. k = 10, 10,

many thanks to @tmonteil

*but it is too long!! *

How to create a symbolic arbitrary dimensional zero vector?

one way:

sage: symbolic_expression(list(zero_vector(k))) 
# k, dim. of vector, k is some fixed integer, e.g. k = 10,

many thanks to @tmonteil

*but but it is too long!! *long!!

How to create a symbolic arbitrary dimensional zero vector?

one way:

sage: symbolic_expression(list(zero_vector(k))) 
# k, dim. of vector, k is some fixed integer, e.g. k = 10,
10,

# many thanks to @tmonteil

@tmonteil

but it is too long!!