refactor: rename absquare to normsq and add norm
This commit is contained in:
parent
edfba089e3
commit
ec97b0e20a
7 changed files with 32 additions and 20 deletions
|
@ -39,7 +39,7 @@ export const indistinguishable = [
|
|||
return Returns(V, (v, e, [[rT, aT]]) => v.map(f => {
|
||||
return math.indistinguishable(f, e, rT, aT)
|
||||
}))
|
||||
}
|
||||
}
|
||||
const same = math.indistinguishable.resolve([VComp, E, RT, AT])
|
||||
return Returns(
|
||||
Vector(same.returns),
|
||||
|
@ -54,7 +54,7 @@ export const indistinguishable = [
|
|||
return Returns(V, (e, v) => v.map(f => {
|
||||
return math.indistinguishable.resolve([E, math.typeOf(f)])(e, f)
|
||||
}))
|
||||
}
|
||||
}
|
||||
const same = math.indistinguishable.resolve([E, VComp])
|
||||
return Returns(
|
||||
Vector(same.returns), (e, v) => v.map(f => same(e, f)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue