prg_profile_scale()

Abstract

Scales the data values of a private or public profile.

Syntax

prg_profile_scale (profile_handle, value, scale_op)
Argument Type Description
profile_handle PrgT_Profile_Handle Handle to the profile of interest.
value double Scaling factor.
scale_op PrgT_Profile_Scale_Op Scaling operation (see Details).

Return Type

PrgT_Profile_Handle

Handle to a scaled copy of the original profile.

prg_profile_funcs.h

Details

This function scales the y values in the specified profile by value. scale_op determines how the profile is scaled, as follows:

  • PrgC_Profile_Scale_Op_Add—value is added to each profile value
  • PrgC_Profile_Scale_Op_Multiply—value is multiplied times each profile value

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com