ScalarTagFloat

org.saddle.scalar.ScalarTagFloat$

Float ScalarTag

Attributes

Graph
Supertypes
trait ScalarTag[Float]
trait CouldBeNumber[Float]
trait CouldBeOrdered[Float]
trait SpecializedFactory[Float]
trait ClassTag[Float]
trait Equals
trait ClassManifestDeprecatedApis[Float]
trait OptManifest[Float]
trait Serializable
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def clm: ClassTag[Float]
override def isMissing(v: Float): Boolean

Attributes

Definition Classes
override def makeSorter(implicit ord: Order[Float]): Sorter[Float]

Attributes

Definition Classes
ScalarTagBase -> SpecializedFactory
override def missing: Float

Attributes

Definition Classes
override def parse(s: String): Float

Attributes

Definition Classes
ScalarTagBase -> ScalarTag

Inherited methods

protected def altMatConstructor(r: Int, c: Int, arr: Array[Vec[Float]])(implicit st: ScalarTag[Float]): Mat[T]

Can override this default construction methodology to avoid the toArray call if you don't want to extract elements that way.

Can override this default construction methodology to avoid the toArray call if you don't want to extract elements that way.

Attributes

Inherited from:
SpecializedFactory
protected def argString: String

Attributes

Inherited from:
ClassManifestDeprecatedApis
protected def arrayClass[A](tp: Class[_]): Class[Array[A]]

Attributes

Inherited from:
ClassManifestDeprecatedApis
def asString(v: Float): String

Attributes

Inherited from:
ScalarTag
override def canEqual(x: Any): Boolean

Attributes

Definition Classes
ClassTag -> Equals -> ClassManifestDeprecatedApis
Inherited from:
ClassTag
def compare(x: Float, y: Float)(implicit ev: Order[Float]): Int

Attributes

Inherited from:
ScalarTagBase (hidden)
override def equals(o: Any): Boolean

Compares the receiver object (this) with the argument object (that) for equivalence.

Compares the receiver object (this) with the argument object (that) for equivalence.

Any implementation of this method should be an equivalence relation:

  • It is reflexive: for any instance x of type Any, x.equals(x) should return true.
  • It is symmetric: for any instances x and y of type Any, x.equals(y) should return true if and only if y.equals(x) returns true.
  • It is transitive: for any instances x, y, and z of type Any if x.equals(y) returns true and y.equals(z) returns true, then x.equals(z) should return true.

If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is usually necessary to override hashCode to ensure that objects which are "equal" (o1.equals(o2) returns true) hash to the same scala.Int. (o1.hashCode.equals(o2.hashCode)).

Attributes

that

the object to compare against this object for equality.

Returns:

true if the receiver object is equivalent to the argument; false otherwise.

Definition Classes
ScalarTag -> ClassTag -> Equals -> Any
Inherited from:
ScalarTag
override def erasure: Class[_]

Attributes

Definition Classes
ScalarTag -> ClassManifestDeprecatedApis
Inherited from:
ScalarTag
def gt(a: Float, b: Float)(implicit ev: Order[Float]): Boolean

Attributes

Inherited from:
CouldBeOrdered
override def hashCode(): Int

Calculate a hash code value for the object.

Calculate a hash code value for the object.

The default hashing algorithm is platform dependent.

Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)) yet not be equal (o1.equals(o2) returns false). A degenerate implementation could always return 0. However, it is required that if two objects are equal (o1.equals(o2) returns true) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals method.

Attributes

Returns:

the hash code value for this object.

Definition Classes
ScalarTag -> ClassTag -> Any
Inherited from:
ScalarTag
def inf(implicit ev: Numeric[Float]): T

Attributes

Inherited from:
ScalarTagBase (hidden)
def iseq(a: Float, b: Float)(implicit ev: Order[Float]): Boolean

Attributes

Inherited from:
CouldBeOrdered
def lt(a: Float, b: Float)(implicit ev: Order[Float]): Boolean

Attributes

Inherited from:
CouldBeOrdered
def makeBuf(sz: Int): Buffer[T]

Attributes

Inherited from:
ScalarTagBase (hidden)
def makeIndex(vec: Vec[Float])(implicit ord: Order[Float]): Index[T]

Attributes

Inherited from:
ScalarTagBase (hidden)
def makeLoc(sz: Int): Locator[T]

Attributes

Inherited from:
ScalarTagBase (hidden)
def makeMat(r: Int, c: Int, arr: Array[Float]): Mat[T]

Attributes

Inherited from:
ScalarTagBase (hidden)
final def makeMat(arr: Array[Vec[Float]])(implicit st: ScalarTag[Float]): Mat[T]

An alternative Mat factory method using array of Vecs

An alternative Mat factory method using array of Vecs

Attributes

Inherited from:
SpecializedFactory
def makeVec(arr: Array[Float]): Vec[T]

Attributes

Inherited from:
ScalarTagBase (hidden)
def negInf(implicit ev: Numeric[Float]): T

Attributes

Inherited from:
ScalarTagBase (hidden)
def newArray(len: Int): Array[T]

Attributes

Inherited from:
ClassTag
def notMissing(t: Float): Boolean

Attributes

Inherited from:
ScalarTag
def one(implicit ev: Numeric[Float]): T

Attributes

Inherited from:
ScalarTagBase (hidden)
override def runtimeClass: Class[_]

Attributes

Definition Classes
ScalarTagBase -> ScalarTag -> ClassTag
Inherited from:
ScalarTagBase (hidden)
def show(v: Float): String

Attributes

Inherited from:
ScalarTagBase (hidden)
def strList(v: Float): List[String]

Attributes

Inherited from:
ScalarTag
def strListLossless(v: Float): List[String]

Attributes

Inherited from:
ScalarTag
def toDouble(t: Float)(implicit ev: Numeric[Float]): Double

Attributes

Inherited from:
ScalarTagBase (hidden)
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
ScalarTag -> ClassTag -> Any
Inherited from:
ScalarTag
def unapply(x: Any): Option[T]

Attributes

Inherited from:
ClassTag
def wrap: ClassTag[Array[T]]

Attributes

Inherited from:
ClassTag
def zero(implicit ev: Numeric[Float]): T

Attributes

Inherited from:
ScalarTagBase (hidden)

Deprecated and Inherited methods

def <:<(that: ClassTag[_]): Boolean

Attributes

Deprecated
[Since version 2.10.0] use scala.reflect.runtime.universe.TypeTag for subtype checking instead
Inherited from:
ClassManifestDeprecatedApis
def >:>(that: ClassTag[_]): Boolean

Attributes

Deprecated
[Since version 2.10.0] use scala.reflect.runtime.universe.TypeTag for subtype checking instead
Inherited from:
ClassManifestDeprecatedApis
def arrayManifest: ClassTag[Array[T]]

Attributes

Deprecated
[Since version 2.10.0] use wrap instead
Inherited from:
ClassManifestDeprecatedApis
def newArray2(len: Int): Array[Array[T]]

Attributes

Deprecated
[Since version 2.10.0] use wrap.newArray instead
Inherited from:
ClassManifestDeprecatedApis
def newArray3(len: Int): Array[Array[Array[T]]]

Attributes

Deprecated
[Since version 2.10.0] use wrap.wrap.newArray instead
Inherited from:
ClassManifestDeprecatedApis
def newArray4(len: Int): Array[Array[Array[Array[T]]]]

Attributes

Deprecated
[Since version 2.10.0] use wrap.wrap.wrap.newArray instead
Inherited from:
ClassManifestDeprecatedApis
def newArray5(len: Int): Array[Array[Array[Array[Array[T]]]]]

Attributes

Deprecated
[Since version 2.10.0] use wrap.wrap.wrap.wrap.newArray instead
Inherited from:
ClassManifestDeprecatedApis
def newArrayBuilder(): ArrayBuilder[T]

Attributes

Deprecated
[Since version 2.10.0] use ArrayBuilder.make(this) instead
Inherited from:
ClassManifestDeprecatedApis
def newWrappedArray(len: Int): ArraySeq[T]

Attributes

Deprecated
[Since version 2.10.0] create WrappedArray directly instead
Inherited from:
ClassManifestDeprecatedApis
def typeArguments: List[OptManifest[_]]

Attributes

Deprecated
[Since version 2.10.0] use scala.reflect.runtime.universe.TypeTag to capture type structure instead
Inherited from:
ClassManifestDeprecatedApis