ReductionNode

io.github.quafadas.spireAD.ReductionNode
case class ReductionNode[F[_], T](value1: Scalar[T], thisId: UUID, depId: UUID, op: ReductionOps, gradsize: F[T])(using vfF: VectorisedField[F, T], vfS: VectorisedField[Scalar, T], vt: VectorisedTrig[Scalar, T], f: Field[T], sh: Show[Scalar[T]], shF: Show[F[T]], ct: ClassTag[T]) extends VDimChangeNode[Scalar, F, T]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait VDimChangeNode[Scalar, F, T]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def backward[N <: VDimChangeNode[_[_], _[_], T]](using td: TejVGraph[T]): Unit

Attributes

Definition Classes
override def graphShow: String

Attributes

Definition Classes
def setGradOne(using ct: ClassTag[T]): Unit
def setGradZero(using ct: ClassTag[T]): Unit

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

var grad: F[T]

Inherited fields

val id: UUID

Attributes

Inherited from:
VDimChangeNode
val value: Scalar[T]

Attributes

Inherited from:
VDimChangeNode

Attributes

Inherited from:
VDimChangeNode
val vf2: VectorisedField[F, T]

Attributes

Inherited from:
VDimChangeNode