#include "ZGo.h"



//---- ZGoMakeShiftMatrix

ZGoMakeShiftMatrix::ZGoMakeShiftMatrix(ZGo *zgo, ZGoPARAMS *input, ZGoPARAMS *output)
{
  this->zgo = zgo;
  this->input = input->setInput(this);
  this->output = output->setOutput(this);

  this->fnType = new ZGoNAME(zgo, "ZGoSine");

  //  Parameters

  x = (ZGoREAL *)input->get("x");
  y = (ZGoREAL *)input->get("y");
  z = (ZGoREAL *)input->get("z");
  result = (ZGoMATRIX *)output->get("result");
}
  
void ZGoMakeShiftMatrix::process()
{
  x->process();
  y->process();
  z->process();

  result->shiftMatrix(x->value, y->value, z->value);
}
