test_class.declarator: firstScalar
test_class.modifier: private
test_class.original_string: private Scalar firstScalar;
test_class.type: Scalar
test_class.var_name: firstScalar
test_class.declarator: secondScalar
test_class.modifier: private
test_class.original_string: private Scalar secondScalar;
test_class.type: Scalar
test_class.var_name: secondScalar
test_class.file: singa-mathematics/src/test/java/bio/singa/mathematics/vectors/ScalarTest.java
test_class.identifier: ScalarTest
test_case.body: @Test
      void testDimensionString() {
          String actual = firstScalar.getDimensionAsString();
          assertEquals("1D", actual);
      }
test_case.class_method_signature: ScalarTest.testDimensionString()
test_case.full_signature: @Test void testDimensionString()
test_case.identifier: testDimensionString
test_case.invocations: getDimensionAsString assertEquals
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void testDimensionString()
focal_class.declarator: dimension = 1
focal_class.modifier: private static final
focal_class.original_string: private static final int dimension = 1;
focal_class.type: int
focal_class.var_name: dimension
focal_class.declarator: value
focal_class.modifier: private final
focal_class.original_string: private final double value;
focal_class.type: double
focal_class.var_name: value
focal_class.file: singa-mathematics/src/main/java/bio/singa/mathematics/vectors/Scalar.java
focal_class.identifier: Scalar
focal_class.interfaces: implements Vector
focal_class.class_method_signature: Scalar.Scalar(double value)
focal_class.full_signature: public  Scalar(double value)
focal_class.identifier: Scalar
focal_class.modifiers: public
focal_class.parameters: (double value)
focal_class.signature:  Scalar(double value)
focal_class.class_method_signature: Scalar.getValue()
focal_class.full_signature: public double getValue()
focal_class.identifier: getValue
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double getValue()
focal_class.class_method_signature: Scalar.as(Class<V> vectorClass)
focal_class.full_signature: @Override public V as(Class<V> vectorClass)
focal_class.identifier: as
focal_class.modifiers: @Override public
focal_class.parameters: (Class<V> vectorClass)
focal_class.return: V
focal_class.signature: V as(Class<V> vectorClass)
focal_class.class_method_signature: Scalar.getElement(int index)
focal_class.full_signature: @Override public double getElement(int index)
focal_class.identifier: getElement
focal_class.modifiers: @Override public
focal_class.parameters: (int index)
focal_class.return: double
focal_class.signature: double getElement(int index)
focal_class.class_method_signature: Scalar.getElements()
focal_class.full_signature: @Override public double[] getElements()
focal_class.identifier: getElements
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: double[]
focal_class.signature: double[] getElements()
focal_class.class_method_signature: Scalar.getDimension()
focal_class.full_signature: @Override public int getDimension()
focal_class.identifier: getDimension
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getDimension()
focal_class.class_method_signature: Scalar.getDimensionAsString()
focal_class.full_signature: @Override public String getDimensionAsString()
focal_class.identifier: getDimensionAsString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getDimensionAsString()
focal_class.class_method_signature: Scalar.hasSameDimensions(Vector element)
focal_class.full_signature: @Override public boolean hasSameDimensions(Vector element)
focal_class.identifier: hasSameDimensions
focal_class.modifiers: @Override public
focal_class.parameters: (Vector element)
focal_class.return: boolean
focal_class.signature: boolean hasSameDimensions(Vector element)
focal_class.class_method_signature: Scalar.add(Vector summand)
focal_class.full_signature: @Override public Scalar add(Vector summand)
focal_class.identifier: add
focal_class.modifiers: @Override public
focal_class.parameters: (Vector summand)
focal_class.return: Scalar
focal_class.signature: Scalar add(Vector summand)
focal_class.class_method_signature: Scalar.subtract(Vector subtrahend)
focal_class.full_signature: @Override public Scalar subtract(Vector subtrahend)
focal_class.identifier: subtract
focal_class.modifiers: @Override public
focal_class.parameters: (Vector subtrahend)
focal_class.return: Scalar
focal_class.signature: Scalar subtract(Vector subtrahend)
focal_class.class_method_signature: Scalar.additivelyInvert()
focal_class.full_signature: @Override public Scalar additivelyInvert()
focal_class.identifier: additivelyInvert
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Scalar
focal_class.signature: Scalar additivelyInvert()
focal_class.class_method_signature: Scalar.additiveleyInvertElement(int index)
focal_class.full_signature: @Override public Scalar additiveleyInvertElement(int index)
focal_class.identifier: additiveleyInvertElement
focal_class.modifiers: @Override public
focal_class.parameters: (int index)
focal_class.return: Scalar
focal_class.signature: Scalar additiveleyInvertElement(int index)
focal_class.class_method_signature: Scalar.multiply(Vector multiplicand)
focal_class.full_signature: @Override public Scalar multiply(Vector multiplicand)
focal_class.identifier: multiply
focal_class.modifiers: @Override public
focal_class.parameters: (Vector multiplicand)
focal_class.return: Scalar
focal_class.signature: Scalar multiply(Vector multiplicand)
focal_class.class_method_signature: Scalar.multiply(double scalar)
focal_class.full_signature: @Override public Scalar multiply(double scalar)
focal_class.identifier: multiply
focal_class.modifiers: @Override public
focal_class.parameters: (double scalar)
focal_class.return: Scalar
focal_class.signature: Scalar multiply(double scalar)
focal_class.class_method_signature: Scalar.divide(Vector divisor)
focal_class.full_signature: @Override public Scalar divide(Vector divisor)
focal_class.identifier: divide
focal_class.modifiers: @Override public
focal_class.parameters: (Vector divisor)
focal_class.return: Scalar
focal_class.signature: Scalar divide(Vector divisor)
focal_class.class_method_signature: Scalar.divide(double scalar)
focal_class.full_signature: @Override public Scalar divide(double scalar)
focal_class.identifier: divide
focal_class.modifiers: @Override public
focal_class.parameters: (double scalar)
focal_class.return: Scalar
focal_class.signature: Scalar divide(double scalar)
focal_class.class_method_signature: Scalar.normalize()
focal_class.full_signature: @Override public Scalar normalize()
focal_class.identifier: normalize
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Scalar
focal_class.signature: Scalar normalize()
focal_class.class_method_signature: Scalar.dotProduct(Vector vector)
focal_class.full_signature: @Override public double dotProduct(Vector vector)
focal_class.identifier: dotProduct
focal_class.modifiers: @Override public
focal_class.parameters: (Vector vector)
focal_class.return: double
focal_class.signature: double dotProduct(Vector vector)
focal_class.class_method_signature: Scalar.dyadicProduct(Vector vector)
focal_class.full_signature: @Override public RegularMatrix dyadicProduct(Vector vector)
focal_class.identifier: dyadicProduct
focal_class.modifiers: @Override public
focal_class.parameters: (Vector vector)
focal_class.return: RegularMatrix
focal_class.signature: RegularMatrix dyadicProduct(Vector vector)
focal_class.class_method_signature: Scalar.getMagnitude()
focal_class.full_signature: @Override public double getMagnitude()
focal_class.identifier: getMagnitude
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double getMagnitude()
focal_class.class_method_signature: Scalar.distanceTo(Vector another)
focal_class.full_signature: @Override public double distanceTo(Vector another)
focal_class.identifier: distanceTo
focal_class.modifiers: @Override public
focal_class.parameters: (Vector another)
focal_class.return: double
focal_class.signature: double distanceTo(Vector another)
focal_method.body: @Override
      public String getDimensionAsString() {
          return String.valueOf(Scalar.dimension) + "D";
      }
focal_method.class_method_signature: Scalar.getDimensionAsString()
focal_method.full_signature: @Override public String getDimensionAsString()
focal_method.identifier: getDimensionAsString
focal_method.invocations: valueOf
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: String
focal_method.signature: String getDimensionAsString()