# cee::ug::CustomResultFunction

class `CustomResultFunction` : public RefCountedObject

  A CustomResultFunction produces the output values of a custom result on a given item.

  It is called by CustomResultGenerator::generate()

  Subclassed by AddConstantFunction, ApplyMathFunction, AverageFunction, CrossProduct, DivideByConstantFunction, DivisionOfScalars, ExtractComponentFunction, L1NormFunction, L2NormFunction, MaxFunction, MinFunction, MultiplyByConstantFunction, OppositeFunction, PerItemProduct, PrincipalsFunction, SubtractConstantFunction, SubtractFunction, SumFunction, VonMisesFunction

  Public Functions

  `CustomResultFunction`()
  void `setInputDimensions`(const std::vector<size_t> &inputDimensions)

    Sets input dimensions.

  void `setOutputDimension`(size_t outputDimension)

    Sets output dimensions.

  size_t `inputCount`() const

    Returns input count.

  size_t `inputDimension`(size_t argumentIndex) const

    Returns input dimension.

  size_t `outputDimension`() const

    Returns output dimension.

  virtual bool `computeItem`(const std::vector<const double*> &inputValues, double *outputValues)

    Computes output values.

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your Docs generative AI assistant. Ask me anything about HOOPS Envision for Desktop or choose a sample question below to start a conversation:

What is HOOPS Envision for Desktop?
What are the latest release notes for HOOPS Envision for Desktop?
How do I start evaluating HOOPS Envision for Desktop?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...