Processing math: 100%

First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 9 years ago

j0equ1nn gravatar image

How do I define (and work with) a set of matrices?

Suppose a,b,c are matrices, and I want to define the set S=a,b,c. What is the proper syntax for this? More generally, how do I define a set by specifying its elements (regardless of their nature). I am only finding documentation for sets of numbers.

I'm also interested in doing functions that take sets like S as input. For instance, if I had a matrix d, I want to be able to define a set like S=da,db,dc, but I want to be able to do this via the Sage equivalent of f(S):=mssS.

click to hide/show revision 2
No.2 Revision

How do I define (and work with) a set of matrices?

Suppose a,b,c are matrices, and I want to define the set S=a,b,c. What is the proper syntax for this? More generally, how do I define a set by specifying its elements (regardless of their nature). I am only finding documentation for sets of numbers.

I'm also interested in doing functions that take sets like S as input. For instance, if I had a matrix d, I want to be able to define a set like S=da,db,dc, but I want to be able to do this via the Sage equivalent of f(S):=mssS.

click to hide/show revision 3
No.3 Revision

How do I define (and work with) a set of matrices?

Suppose a,b,c are matrices, and I want to define the set S=a,b,c. S={a,b,c}$. What is the proper syntax for this? More generally, how do I define a set by specifying its elements (regardless of their nature). I am only finding documentation for sets of numbers.

I'm also interested in doing functions that take sets like S as input. For instance, if I had a matrix d, I want to be able to define a set like S=da,db,dc, S={da,db,dc}$, but I want to be able to do this via the Sage equivalent of f(S):=mssS.

click to hide/show revision 4
No.4 Revision

How do I define (and work with) a set of matrices?

Suppose a,b,c are matrices, and I want to define the set S={a,b,c}$. S= { a,b,c }. What is the proper syntax for this? More generally, how do I define a set by specifying its elements (regardless of their nature). I am only finding documentation for sets of numbers.

I'm also interested in doing functions that take sets like S as input. For instance, if I had a matrix d, I want to be able to define a set like S={da,db,dc}$, S= { da,db,dc}, but I want to be able to do this via the Sage equivalent of f(S):=mssS.

click to hide/show revision 5
No.5 Revision

How do I define (and work with) a set of matrices?

Suppose a,b,c are matrices, and I want to define the set S= { a,b,c }. What is the proper syntax for this? More generally, how do I define a set by specifying its elements (regardless of their nature). I am only finding documentation for sets of numbers.

I'm also interested in doing functions that take sets like S as input. For instance, if I had a matrix d, I want to be able to define a set like S= { da,db,dc}, da,db,dc }, but I want to be able to do this via the Sage equivalent of $f(S):={ms\mid f(S):= {$ ms\mid s\in S}$.S $}.