1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
|
--- status: Reviewed
--- author(s): kummini
--- notes:
document {
Key => transpose,
Headline => "transpose a table or a matrix",
-- Usage => "",
-- Inputs => {
-- },
-- Outputs => {
-- },
-- Consequences => {
-- },
"The function ", TT "transpose", " transposes a matrix, a map of chain
complexes or a table.",
-- EXAMPLE {
-- },
-- Caveat => {},
-- SeeAlso => {}
}
document {
Key => (transpose,List),
Headline => " transposes a table",
Usage => "transpose T",
Inputs => {
"T" => List => {"which must be a ", TO "table"}
},
Outputs => {
{"the transpose of the table ", TT "T", ""}
},
"Here is an example.",
EXAMPLE {,
"transpose{{a, b, c},{d, e, f}}"
}
}
document {
Key => {(transpose,Matrix),(transpose,MutableMatrix)},
Headline => "transpose a matrix",
Usage => "transpose f",
Inputs => {
"f" => Matrix
},
Outputs => {
Matrix => { "the transpose of ", TT "f" }
},
"Here is an example.",
EXAMPLE {
"S = ZZ/10007[x,y,z];",
"f = matrix{{x^3,x*y^2},{y*x^2,y^3}}",
"g = transpose f",
},
"The output of ", TT "transpose", " is a map between the duals of the
original source and target free modules. See:",
EXAMPLE {
"degrees f",
"degrees g",
},
Caveat => {
TT "transpose", " works only for maps between free modules.
Use ", TT "dual", " for more general maps."
},
SeeAlso => {dual}
}
document {
Key => (transpose,ChainComplexMap),
Headline => "transpose a map of chain complexes",
Usage => "transpose f",
Inputs => {
"f" => ChainComplexMap
},
Outputs => {
ChainComplexMap => { "the transpose of ", TT "f" }
},
"The output of ", TT "transpose", " is a map from the duals of the
original source and target free modules. See the degree of the target
module in the following example",
EXAMPLE {
"S = ZZ/10007[x,y,z];",
"F = res ideal vars S;",
"F.dd",
"transpose F.dd"
},
"Note that ", TT "M2", " treats the differentials of a chain complex map
as map of degree -1."
}
|