Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,5 @@
|
|||
fcn linearCombination(coeffs){
|
||||
[1..].zipWith(fcn(n,c){ if(c==0) "" else "%s*e(%s)".fmt(c,n) },coeffs)
|
||||
.filter().concat("+").replace("+-","-").replace("1*","")
|
||||
or 0
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
T(T(1,2,3),T(0,1,2,3),T(1,0,3,4),T(1,2,0),T(0,0,0),T(0),T(1,1,1),T(-1,-1,-1),
|
||||
T(-1,-2,0,-3),T(-1),T)
|
||||
.pump(Console.println,linearCombination);
|
||||
Loading…
Add table
Add a link
Reference in a new issue