code: @Override
      public void syr(char order, char Uplo, int N, double alpha, INDArray X, INDArray A) {
          if (Nd4j.getExecutioner().getProfilingMode() == OpExecutioner.ProfilingMode.ALL)
              OpProfiler.getInstance().processBlasCall(false, A, X);
  
          // FIXME: int cast
  
          if (X.data().dataType() == DataType.DOUBLE) {
              DefaultOpExecutioner.validateDataType(DataType.DOUBLE, A, X);
              dsyr(order, Uplo, (int) X.length(), alpha, X, X.stride(-1), A, (int) A.size(0));
          } else {
              DefaultOpExecutioner.validateDataType(DataType.FLOAT, A, X);
              ssyr(order, Uplo, (int) X.length(), (float) alpha, X, X.stride(-1), A, (int) A.size(0));
          }
  
          OpExecutionerUtil.checkForAny(A);
      }
docs: syr performs a rank-1 update of an n-by-n symmetric matrix a:
  a := alpha*x*x' + a.
  
  @param order
  @param Uplo
  @param N
  @param alpha
  @param X
  @param A