Support Board
Date/Time: Fri, 01 Nov 2024 02:19:54 +0000
Post From: How to Subtract 2 arrays
[2020-08-10 22:36:12] |
User681150 - Posts: 62 |
i keep getting errors when trying to subtract 2 arrays 'error no match for operator-' i get errors on both sc.GetStudyArraysFromChartUsingID(1, 2, StudyArray); SCFloatArrayRef array1 = StudyArray[0]; SCFloatArrayRef array2 = StudyArray[1]; SCFloatArrayRef array3 = (StudyArray[0] - StudyArray[1]) ; // OR SCFloatArrayRef array3 =( array1 - array2); |