/external/ceres-solver/docs/ |
curvefitting.tex | 2 \chapter{Fitting a Curve to Data} 4 The examples we have seen until now are simple optimization problems with no data. The original purpose of least squares and non-linear least squares analysis was fitting curves to data. It is only appropriate that we now consider an example of such a problem\footnote{The full code and data for this example can be found in 5 \texttt{examples/data\_fitting.cc}. It contains data generated by sampling the curve $y = e^{0.3x + 0.1}$ and adding Gaussian noise with standard deviation $\sigma = 0.2$.}. Let us fit some data to the curve 10 We begin by defining a templated object to evaluate the residual. There will be a residual for each observation. 30 %\caption{Templated functor to compute the residual for the exponential model fitting problem. Note that one instance of the functor is responsible for computing the residual for one observation.} 73 \caption{Least squares data fitting to the curve $y = e^{0.3x + 0.1}$. Observations were generated by sampling this curve uniformly in the interval $x=(0,5)$ and adding Gaussian noise with $\sigma = 0.2$.\label{fig:exponential}} 77 Starting from parameter values $m = 0, c=0$ with an initial objective function value of $121.173$ Ceres finds a solution $m= 0.291861, c = 0.131439$ with an objective function value of $1.05675$. These values are a a bit different than the parameters of the original model $m=0.3, c= 0.1$, but this is expected. When reconstructing a curve from noisy data, we expect to see such deviations. Indeed, if you were to evaluate the objective function for $m=0.3, c=0.1$, the fit is worse with an objective function value of 1.082425. Figure~\ref{fig:exponential} illustrates the fit.
|
ceres-solver.tex | 103 \chapter{A Note to the Reader}
|
/dalvik/tests/004-annotations/src/android/test/anno/ |
IntToString.java | 11 String to(); method in interface:IntToString
|
/external/clang/test/CodeGen/ |
2002-03-12-StructInitialize.c | 5 long to; member in struct:Connection_Type
|
2002-03-12-StructInitializer.c | 9 long to; member in struct:Connection_Type
|
/external/icu4c/i18n/ |
zonemeta.h | 20 const UChar *mzid; // const because it's a reference to a resource bundle string. 22 UDate to; member in struct:OlsonToMetaMappingEntry 41 * This overload method returns a persistent const UChar*, which is guranteed to persist 42 * (a pointer to a resource). 58 * Return the country code if this is a 'single' time zone that can fallback to just 60 * to see that there is a localization for the country in order to implement 79 * Returns the pointer to the persistent time zone ID string, or NULL if the given tzid is not in the 85 * Returns the pointer to the persistent meta zone ID string, or NULL if the given mzid is not available.
|
/external/smack/src/org/jivesoftware/smack/filter/ |
ToContainsFilter.java | 14 * Unless required by applicable law or agreed to in writing, software 26 * Filters for packets where the "to" field contains a specified value. For example, 27 * the filter could be used to listen for all packets sent to a group chat nickname. 33 private String to; field in class:ToContainsFilter 36 * Creates a "to" contains filter using the "to" field part. 38 * @param to the to field value the packet must contain. 40 public ToContainsFilter(String to) { [all...] |
/frameworks/compile/mclinker/lib/Target/ |
ELFEmulation.cpp | 18 const char* to; ///< the output string. member in struct:NameMap 71 pConfig.scripts().sectionMap().append(map[i].from, map[i].to, exist);
|
ELFMCLinker.cpp | 18 const char* to; ///< the output string. member in struct:NameMap
|
/external/clang/ |
clang-host-build.mk | 25 ## Commands for running tblgen to compile a td file 27 define transform-host-clang-td-to-out
|
/external/llvm/ |
llvm-device-build.mk | 16 # to here. 64 ## Commands for running tblgen to compile a td file 66 define transform-device-td-to-out
|
llvm-tblgen-rules.mk | 2 ## Commands for running tblgen to compile a td file 4 define transform-td-to-out 6 $(call transform-host-td-to-out,$(1)), \ 7 $(call transform-device-td-to-out,$(1))) 11 ## TableGen: Compile .td files to .inc. 14 # Set LOCAL_MODULE_CLASS to STATIC_LIBRARIES default (require 45 $(call transform-td-to-out, register-info) 50 $(call transform-td-to-out,instr-info) 55 $(call transform-td-to-out,subtarget) 62 $(call transform-td-to-out, register-info [all...] |
tblgen-rules.mk | 2 ## Commands for running tblgen to compile a td file 4 define transform-td-to-out 6 $(call transform-host-td-to-out,$(1)), \ 7 $(call transform-device-td-to-out,$(1))) 11 ## TableGen: Compile .td files to .inc. 31 $(call transform-td-to-out,register-enums) 37 $(call transform-td-to-out,register-desc-header) 43 $(call transform-td-to-out,register-desc) 49 $(call transform-td-to-out,instr-enums) 55 $(call transform-td-to-out,instr-desc [all...] |
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
ToParser.java | 6 * Pursuant to title 15 Untied States Code Section 105, works of NIST 7 * employees are not subject to copyright protection in the United States 8 * and are considered to be in the public domain. As a result, a formal 9 * license is not needed to use the software. 17 * not limited to the correctness, accuracy, reliability or usefulness of 20 * Permission to use this software is contingent upon your acceptance 33 * To Header parser. 45 * @param to String to set 47 public ToParser(String to) { 58 To to = new To(); local [all...] |
/external/webkit/Source/WebCore/css/ |
CSSUnicodeRangeValue.h | 14 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 37 static PassRefPtr<CSSUnicodeRangeValue> create(UChar32 from, UChar32 to) 39 return adoptRef(new CSSUnicodeRangeValue(from, to)); 45 UChar32 to() const { return m_to; } function in class:WebCore::CSSUnicodeRangeValue 50 CSSUnicodeRangeValue(UChar32 from, UChar32 to) 52 , m_to(to)
|
/ndk/sources/cxx-stl/llvm-libc++/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/ |
char16_t_in.pass.cpp | 16 // internT* to, internT* to_end, internT*& to_next) const; 29 F::intern_type to[9]; local 35 to, to + 9, to_next) == F::ok); 37 assert(to_next - to == 9); 39 assert(to[i] == from[i]);
|
char16_t_out.pass.cpp | 16 // externT* to, externT* to_end, externT*& to_next) const; 33 char to[9] = {0}; local 38 to, to + 9, to_next); 41 assert(to_next - to == 9); 43 assert(to[i] == from[i]);
|
char32_t_in.pass.cpp | 16 // internT* to, internT* to_end, internT*& to_next) const; 29 F::intern_type to[9]; local 35 to, to + 9, to_next) == F::ok); 37 assert(to_next - to == 9); 39 assert(to[i] == from[i]);
|
char32_t_out.pass.cpp | 16 // externT* to, externT* to_end, externT*& to_next) const; 33 char to[9] = {0}; local 38 to, to + 9, to_next); 41 assert(to_next - to == 9); 43 assert(to[i] == from[i]);
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
StrSegment.java | 10 * Unless required by applicable law or agreed to in writing, software 23 * It is used to represent the layers of the composing text ({@link ComposingText}). 33 public int to; field in class:StrSegment 65 * @param to The end position 67 public StrSegment(String str, int from, int to) { 70 this.to = to;
|
/bionic/libc/kernel/common/linux/netfilter/ |
xt_connbytes.h | 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 10 *** To edit the content of this header, modify the corresponding 39 aligned_u64 to; member in struct:xt_connbytes_info::__anon406
|
/development/ndk/platforms/android-3/include/linux/netfilter/ |
xt_connbytes.h | 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 31 aligned_u64 to; member in struct:xt_connbytes_info::__anon1054
|
/external/apache-http/src/org/apache/http/message/ |
BasicHeaderIterator.java | 7 * Licensed to the Apache Software Foundation (ASF) under one 11 * to you under the Apache License, Version 2.0 (the 17 * Unless required by applicable law or agreed to in writing, 49 * An array of headers to iterate over. 52 * Derived implementations are expected to adhere to this restriction. 65 * The header name to filter by. 66 * <code>null</code> to iterate over all headers in the array. 75 * @param headers an array of headers over which to iterate 76 * @param name the name of the headers over which to iterate, o 104 final int to = this.allHeaders.length-1; local [all...] |
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/ |
test_stream.py | 17 # contributors may be used to endorse or promote products derived from 22 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 26 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 38 import set_sys_path # Update sys.path to locate mod_pywebsocket module. namespace 62 # Invalid value 0xf passed to more parameter
|
test_stream_hixie75.py | 17 # contributors may be used to endorse or promote products derived from 22 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 26 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 38 import set_sys_path # Update sys.path to locate mod_pywebsocket module. namespace
|