# Vector

### Related Doc: package cas

#### trait Vector extends Tensor

Vector: rank-1 tensor.

Linear Supertypes
Tensor, AnyRef, Any
Known Subclasses
Ordering
1. Alphabetic
2. By Inheritance
Inherited
1. Vector
2. Tensor
3. AnyRef
4. Any
Implicitly
2. by StringFormat
3. by Ensuring
4. by ArrowAssoc
1. Hide All
2. Show All
Visibility
1. Public
2. All

### Abstract Value Members

1. #### abstract def apply(env: Map[String, Tensor]): Vector

Applies the expression.

2. #### abstract def d(dx: VectorVar): Matrix

Returns the Jacobian matrix.

3. #### abstract def d(dx: Var): Vector

Returns the partial derivative.

4. #### abstract def size: IntScalar

The size of vector.

### Concrete Value Members

1. #### final def !=(arg0: Any): Boolean

Definition Classes
AnyRef → Any
2. #### final def ##(): Int

Definition Classes
AnyRef → Any

8. #### def ->[B](y: B): (Vector, B)

Implicit information
This member is added by an implicit conversion from Vector to ArrowAssoc[Vector] performed by method ArrowAssoc in scala.Predef.
Definition Classes
ArrowAssoc
Annotations
@inline()

10. #### final def ==(arg0: Any): Boolean

Definition Classes
AnyRef → Any
11. #### def apply(env: (String, Tensor)*): Vector

Applies the expression.

12. #### final def asInstanceOf[T0]: T0

Definition Classes
Any
13. #### def clone(): AnyRef

Attributes
protected[java.lang]
Definition Classes
AnyRef
Annotations
@throws( ... )
14. #### def ensuring(cond: (Vector) ⇒ Boolean, msg: ⇒ Any): Vector

Implicit information
This member is added by an implicit conversion from Vector to Ensuring[Vector] performed by method Ensuring in scala.Predef.
Definition Classes
Ensuring
15. #### def ensuring(cond: (Vector) ⇒ Boolean): Vector

Implicit information
This member is added by an implicit conversion from Vector to Ensuring[Vector] performed by method Ensuring in scala.Predef.
Definition Classes
Ensuring
16. #### def ensuring(cond: Boolean, msg: ⇒ Any): Vector

Implicit information
This member is added by an implicit conversion from Vector to Ensuring[Vector] performed by method Ensuring in scala.Predef.
Definition Classes
Ensuring
17. #### def ensuring(cond: Boolean): Vector

Implicit information
This member is added by an implicit conversion from Vector to Ensuring[Vector] performed by method Ensuring in scala.Predef.
Definition Classes
Ensuring
18. #### final def eq(arg0: AnyRef): Boolean

Definition Classes
AnyRef
19. #### def equals(arg0: Any): Boolean

Definition Classes
AnyRef → Any
20. #### def finalize(): Unit

Attributes
protected[java.lang]
Definition Classes
AnyRef
Annotations
@throws( classOf[java.lang.Throwable] )
21. #### def formatted(fmtstr: String): String

Implicit information
This member is added by an implicit conversion from Vector to StringFormat[Vector] performed by method StringFormat in scala.Predef.
Definition Classes
StringFormat
Annotations
@inline()
22. #### final def getClass(): Class[_]

Definition Classes
AnyRef → Any
23. #### def hashCode(): Int

Definition Classes
AnyRef → Any
24. #### final def isInstanceOf[T0]: Boolean

Definition Classes
Any
25. #### final def ne(arg0: AnyRef): Boolean

Definition Classes
AnyRef
26. #### final def notify(): Unit

Definition Classes
AnyRef
27. #### final def notifyAll(): Unit

Definition Classes
AnyRef
28. #### def rank: Option[Int]

The rank of tensor, i.e.

The rank of tensor, i.e. the number of dimensions.

Definition Classes
VectorTensor
29. #### def shape: Option[Array[IntScalar]]

The shape of tensor, i.e the size of each dimension.

The shape of tensor, i.e the size of each dimension.

Definition Classes
VectorTensor
30. #### def simplify: Vector

Simplify the expression.

31. #### final def synchronized[T0](arg0: ⇒ T0): T0

Definition Classes
AnyRef
32. #### def toString(): String

Definition Classes
AnyRef → Any

35. #### final def wait(): Unit

Definition Classes
AnyRef
Annotations
@throws( ... )
36. #### final def wait(arg0: Long, arg1: Int): Unit

Definition Classes
AnyRef
Annotations
@throws( ... )
37. #### final def wait(arg0: Long): Unit

Definition Classes
AnyRef
Annotations
@throws( ... )
38. #### def →[B](y: B): (Vector, B)

Implicit information
This member is added by an implicit conversion from Vector to ArrowAssoc[Vector] performed by method ArrowAssoc in scala.Predef.
Definition Classes
ArrowAssoc

1. #### def +(other: String): String

Implicit information
This member is added by an implicit conversion from Vector to any2stringadd[Vector] performed by method any2stringadd in scala.Predef.
This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:
`(vector: any2stringadd[Vector]).+(other)`
Definition Classes