content: /*
   * Tencent is pleased to support the open source community by making Angel available.
   *
   * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
   *
   * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
   * compliance with the License. You may obtain a copy of the License at
   *
   * https://opensource.org/licenses/Apache-2.0
   *
   * Unless required by applicable law or agreed to in writing, software distributed under the License
   * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
   * or implied. See the License for the specific language governing permissions and limitations under
   * the License.
   *
   */
  package com.tencent.angel.ml.math2.matrix;
  
  import com.tencent.angel.ml.math2.vector.Vector;
  
  public abstract class CooIntMatrix extends Matrix{
  
    protected int [] rowIndices;
    protected int [] colIndices;
    protected int [] shape;
  
    public CooIntMatrix() {}
  
    public abstract Vector getRow(int idx);
  
    public abstract Vector getCol(int idx);
  
    public int[] getRowIndices() {
      return rowIndices;
    }
  
    public int[] getColIndices() {
      return colIndices;
    }
  
    public int[] getShape() {
      return shape;
    }
  
    @Override
    public int getNumRows() {
      return shape[0];
    }
  
    public int getNumCols() {
      return shape[1];
    }
  
    public void reshape(int rows, int cols) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Vector diag() {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Vector dot(Vector other) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Vector transDot(Vector other) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix iadd(int rowId, Vector other) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix add(int rowId, Vector other) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix isub(int rowId, Vector other) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix sub(int rowId, Vector other) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix imul(int rowId, Vector other) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix mul(int rowId, Vector other) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix idiv(int rowId, Vector other) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix div(int rowId, Vector other) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix iaxpy(int rowId, Vector other, double aplha) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix axpy(int rowId, Vector other, double aplha) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix iadd(Vector other) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix add(Vector other) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix isub(Vector other) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix sub(Vector other) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix imul(Vector other) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix mul(Vector other) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix idiv(Vector other) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix div(Vector other) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix iaxpy(Vector other, double aplha) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix axpy(Vector other, double aplha) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix iadd(Matrix other) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix add(Matrix other) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix isub(Matrix other) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix sub(Matrix other) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix imul(Matrix other) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix mul(Matrix other) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix idiv(Matrix other) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix div(Matrix other) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix iaxpy(Matrix other, double aplha) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix axpy(Matrix other, double aplha) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix iadd(double x) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix add(double x) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix isub(double x) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix sub(double x) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix imul(double x) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix mul(double x) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix idiv(double x) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix div(double x) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
  
  
    @Override
    public Vector min(int axis) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Vector max(int axis) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Vector sum(int axis) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Vector average(int axis) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Vector std(int axis) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Vector norm(int axis) {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  
    @Override
    public Matrix copy() {
      throw new UnsupportedOperationException("this operation is not support!");
    }
  }
  