Codota Logo
DiagonalMatrix.times
Code IndexAdd Codota to your IDE (free)

How to use
times
method
in
gov.sandia.cognition.math.matrix.custom.DiagonalMatrix

Best Java code snippets using gov.sandia.cognition.math.matrix.custom.DiagonalMatrix.times (Showing top 12 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
LocalDateTime l =
  • Codota Iconnew LocalDateTime()
  • Codota IconLocalDateTime.now()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseLocalDateTime(text)
  • Smart code suggestions by Codota
}
origin: gov.sandia.foundry/gov-sandia-cognition-common-core

@Override
public final Vector preTimes(
  final DenseVector vector)
{
  // Only true for diagonal (and symmetric) matrices: pre-mult vector is the same as post-mult
  // vector
  return times(vector);
}
origin: algorithmfoundry/Foundry

@Override
Vector precondition(Vector v)
{
  return Minv.times(v);
}
origin: algorithmfoundry/Foundry

@Override
public final Vector preTimes(
  final DenseVector vector)
{
  // Only true for diagonal (and symmetric) matrices: pre-mult vector is the same as post-mult
  // vector
  return times(vector);
}
origin: algorithmfoundry/Foundry

@Override
public final Vector preTimes(
  final DenseVector vector)
{
  // Only true for diagonal (and symmetric) matrices: pre-mult vector is the same as post-mult
  // vector
  return times(vector);
}
origin: gov.sandia.foundry/gov-sandia-cognition-learning-core

@Override
Vector precondition(Vector v)
{
  return Minv.times(v);
}
origin: algorithmfoundry/Foundry

@Override
Vector precondition(Vector v)
{
  return Minv.times(v);
}
origin: algorithmfoundry/Foundry

/**
 * Overrides the default implementation so that L_tilde can be raised to a
 * power and the diagonal weights can be added implicitly (which is much
 * faster and memory efficient than the explicit representation).
 *
 * @param input The vector to multiply by the implicit represetation of the
 * matrix
 * @return The result of the function.
 */
@Override
public Vector evaluate(Vector input)
{
  Vector v = input;
  for (int i = 0; i < power; ++i)
  {
    v = m.times(v);
  }
  Vector plusV = additional.times(input);
  return v.plus(plusV);
}
origin: gov.sandia.foundry/gov-sandia-cognition-learning-core

/**
 * Overrides the default implementation so that L_tilde can be raised to a
 * power and the diagonal weights can be added implicitly (which is much
 * faster and memory efficient than the explicit representation).
 *
 * @param input The vector to multiply by the implicit represetation of the
 * matrix
 * @return The result of the function.
 */
@Override
public Vector evaluate(Vector input)
{
  Vector v = input;
  for (int i = 0; i < power; ++i)
  {
    v = m.times(v);
  }
  Vector plusV = additional.times(input);
  return v.plus(plusV);
}
origin: algorithmfoundry/Foundry

/**
 * Overrides the default implementation so that L_tilde can be raised to a
 * power and the diagonal weights can be added implicitly (which is much
 * faster and memory efficient than the explicit representation).
 *
 * @param input The vector to multiply by the implicit represetation of the
 * matrix
 * @return The result of the function.
 */
@Override
public Vector evaluate(Vector input)
{
  Vector v = input;
  for (int i = 0; i < power; ++i)
  {
    v = m.times(v);
  }
  Vector plusV = additional.times(input);
  return v.plus(plusV);
}
origin: algorithmfoundry/Foundry

Matrix tmp = diag.times(multipartiteAdjacency);
Matrix DAD = tmp.times(diag);
Matrix minusDAD = DAD.scale(-1);
origin: gov.sandia.foundry/gov-sandia-cognition-learning-core

Matrix tmp = diag.times(multipartiteAdjacency);
Matrix DAD = tmp.times(diag);
Matrix minusDAD = DAD.scale(-1);
origin: algorithmfoundry/Foundry

Matrix tmp = diag.times(multipartiteAdjacency);
Matrix DAD = tmp.times(diag);
Matrix minusDAD = DAD.scale(-1);
gov.sandia.cognition.math.matrix.customDiagonalMatrixtimes

Popular methods of DiagonalMatrix

  • <init>
    Creates a square (diagonal.length x diagonal.length) diagonal matrix, initialized to the input value
  • identity
  • setElement
    Set the value stored at the input locations to the input value
  • assertMultiplicationDimensions
  • assertSameDimensions
  • checkBounds
    Helper that makes sure the input row index and column index are within the bounds of matrix. This do
  • checkSolveDimensions
  • checkSubmatrixRange
  • get
  • getNumColumns
  • getNumRows
  • minus
  • getNumRows,
  • minus,
  • normFrobeniusSquared,
  • plus,
  • preTimes

Popular in Java

  • Start an intent from android
  • getResourceAsStream (ClassLoader)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • runOnUiThread (Activity)
  • IOException (java.io)
    Signals that an I/O exception of some sort has occurred. This class is the general class of exceptio
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • HashSet (java.util)
    This class implements the Set interface, backed by a hash table (actually a HashMap instance). It m
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement.A servlet is a small Java program that runs within
  • JTextField (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now