code: func New(dataCnt, parityCnt int) (r *RS, err error) {
  
  	err = checkCfg(dataCnt, parityCnt)
  	if err != nil {
  		return
  	}
  
  	e := genEncMatrix(dataCnt, parityCnt)
  	g := e[dataCnt*dataCnt:]
  	r = &RS{DataCnt: dataCnt, ParityCnt: parityCnt,
  		encodeMatrix: e, genMatrix: g, inverseMatrix: new(sync.Map)}
  	r.enableCache()
  
  	r.cpu = getCPUFeature()
  
  	return
  }
docs: // New create an RS